KERNELDIR := /home/he/linux-v3s/
CURRENT_PATH := $(shell pwd)

ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf-

obj-m := st7701s.o

build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules

clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean
